
#include <instance_limit.hpp>
#include <iostream>
class MyTestClass;

//DECLARE_LIMIT;//( MyTestClass);

class MyTestClass : public lcsdemo::Limited < MyTestClass > {
    public:
        MyTestClass(){
        }
};


// Entry
int main( int argc, char** argv){
    for( int i =0; i< 1024; ++i){
        std::cout<<i<<std::endl;
        new MyTestClass();
    }
    return 0;
}
